import axios from 'axios'
const service = axios.create({
    baseURL: process.env.VUE_APP_BASE_API + "/api",
    timeout: 5000 // request timeout
})
// service.interceptors.request.use(
//     req => {
//         if (localStorage.getItem("token")) {
//             req.headers['token'] = localStorage.getItem("token")
//         }
//         return req
//     }
// )



export default service